<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        *
    {
        margin: 0;
        padding: 0;
        /* 内减模式 */
        box-sizing: border-box;
    }
    body
    {
        background-color: #f3f5f7;
    }
    /* 版心 */
    .wrapper
    {
        width: 1200px;
        margin: 0 auto;
    }
    /* 清除浮动 */
    .clearfix::before,.clearfix::after
    {
        content: "";
        display: table;
    }
    .clearfix::after
    {
        clear: both;
    }
    /* 去除li前面的小点 */
    li
    {
        list-style: none;
    }
    /* 去除链接的下划线 */
    a
    {
        text-decoration: none;
    }

    /* 用户信息 */
    .headline{
        
        float: left;
        margin-bottom: 20px;
        padding: 18px 0 40px 40px;
        width: 100%;
        height: 50px;
        background-color: #fff;
        box-shadow: 0px 2px 3px 0px rgba(118, 118,118,0.2);
        font: normal 500 25px 楷体;
    }

    .user{
        float: left;
        margin: 40px 10% 0px 10%;
        width: 80%;
        
    }
    
    .user table{
        width: 100%;
        text-align: center;
        border: 2px solid rgb(207,213,222);
    }
    .user tr{
        height: 60px;
        box-shadow: 0px 2px 3px 1px rgba(118, 118,118,0.1);
    }
    .user .one{
        width: 120px;
    }
    .user .two{
        width: 200px;
    }
    .user .three{
        width: 250px;
    }
    .user img{
        cursor: pointer;
    }
    .user button{
        float: right;
        margin: 40px 0px 0 0;
        width: 120px;
        height: 50px;
        background-color: rgb(0,110,255);
        color: #fff;
        border: none;
        cursor: pointer;
        border-radius: 5px;

    }

    .user button:hover{
        box-shadow: 0px 2px 3px 0px rgba(118, 118,118,0.2);
    }
    </style>
</head>
<body>
    <!-- 用户信息 -->
    <div class="headline"> 用户信息</div>
    <div class="user">
        <table>
            <tr>
                <td class="one">学号</td>
                <td class="one">姓名</td>
                <td class="one">性别</td>
                <td class="one">年龄</td>
                <td class="one">宿舍号</td>
                <td class="two">电话</td>
                <td class="three">入校时间</td>
                <td class="one">编辑</td>
                <td class="one">删除</td>
            </tr>
            <tr th:each="stu:${infos}">
                <td th:text="${stu.getNo()}"></td>
                <!--                <td th:text=“${stu.getName()}"></td>-->
                <td th:text="${stu.getName()}"></td>
                <td th:text="${stu.getSex()}"></td>
                <td th:text="${stu.getAge()}"></td>
                <td th:text="${stu.getDormId()}"></td>
                <td th:text="${stu.getTelephone()}"></td>
                <td th:text="${stu.getCreateDate()}"></td>
                <td><img th:src="${'/picture/编辑 1.png'}" alt=""></td>
                <td><img th:src="${'/picture/删除.png'}" alt=""></td>
            </tr>
        </table>
        <!-- 添加用户 -->
        <button>添加用户</button>
        
        
    </div>
</body>
</html>